package cn.zhaoyuening.algorithms.tree.nxtree;

/**
 * Created by Buynow on 2017/6/19.
 */
public class Demo {
    public static void printTree(Node rootNode) {

    }

    public static int size(Node node) {
        if (!node.isDir()) {
            System.out.println(node.getT()+"  "+node.getSize());
            return node.getSize();
        }
        Node childNode = node.getFirstChild();
        while (childNode != null) {

        }
        return 0;
    }

    public static void main(String[] args) {

    }
}
